(function($) {
				jQuery.expr[':'].Contains = function(a, i, m) {

					return (a.textContent || a.innerText || "").toUpperCase()
							.indexOf(m[3].toUpperCase()) >= 0;
				};

				function listFilter(header, list) {
					var form = $("<form>").attr({
						"class" : "filterform",
						"action" : "#"
					}), input = $("<input>").attr({
						"class" : "filterinput form-control",
						"type" : "text",
						"placeholder" : "Filter by keyword..."
					});
					$(form).append(input).appendTo(header);

					$(input).change(
							function() {

								var filter = $.trim($(this).val());
								if (filter) {
									$(list).find(
											".entry:not(:Contains(" + filter
													+ "))").hide();
									$(list).find(
											".entry:Contains(" + filter + ")")
											.show();
								} else {
									$(list).find(".entry").show();
								}
								return false;
							}).keyup(function() {
						$(this).change();
					});
				}

				$(function() {
					listFilter($("#filter-course"), $("#list-course"));
					listFilter($("#filter-section"), $("#list-section"));
				});
			}(jQuery));